package com.prs.crm.dao.oa;

import java.util.Collection;
import java.util.Date;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.JobPlan;

public interface JobPlanDao extends BaseDao<JobPlan>{
	Collection<JobPlan> getLastJobPlan(String type,Person person,Date current);
	Collection<JobPlan> getJobPlanByAudit(Person person);
	Collection<JobPlan> getJobPlanByDate(Date startTime,Date endTime,String type,Person person);
	Collection<JobPlan> getJobPlanByKpi(Integer year,Integer month,String type,Person person);
	Collection<?> getReportJobPlanSource(String state, String type, Date datestart, Date dateend, Collection<Person> persons);
	Collection<?> getDeptReportJobPlanSource(Date datestart, Date dateend);
	Collection<JobPlan> getValidCritiqueJobPlan(Person person);
}
